module.exports = {  
    lintOnSave :false,
    devServer: {
        proxy: {
            '/api': {
                target: 'https://itdahua.com/api',//接口的前缀
                ws:true,//代理websocked
                secure:false, //如果是HTTPS需要配置
                changeOrigin:true,//虚拟的站点需要更管origin
                pathRewrite:{
                    '^/api':''//重写路径
                }
            }
        }
    }
}